package com.fc.entity.input;

import com.fc.annotation.WrapQuery;
import com.fc.checkGroup.Insert;
import com.fc.checkGroup.Update;
import com.fc.entity.ProductDetailImages;
import com.fc.enums.CategoryEnum;
import com.fc.enums.UseStatus;
import com.fc.enums.WrapCondition;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ProductQueryInput {

    @Schema(title = "产品名称")
    @WrapQuery(condition = WrapCondition.LIKE)
    private String name;

    @Schema(title = "启用禁用")
    @WrapQuery(condition = WrapCondition.EQ)
    private UseStatus status;

    /**
     * 直接集合接收，最多两个id，一个star，一个item
     */
    @Schema(title = "分类类别")
    private List<Long> types;
}
